package yushuman.rbac.service;

import yushuman.rbac.domain.dto.UserDto;
import yushuman.rbac.domain.entity.User;
import yushuman.rbac.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 俞舒熳
 * @since 2025/6/5 15:27
 */
public interface IUserService extends IBaseService<User, UserDto> {

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);
}
